import http from '@/utils/request.js'
// 登陆  
export const getlogin = (data={})=>{
	return http.post('/user/pub/login',data)
}
//  注册
export const getenroll = (data={})=>{
	return http.post('/user/pub/loginBySms',data)
}

//  发送验证码
export const sendSmsCode = (data={})=>{
	return http.post('/user/pub/sendSmsCode',data)
}


export const getMyUserInfo = ()=>{
	return http.post('/user/kh/getMyUserInfo')
}
export const updateUser = (data)=>{
	return http.post('/user/kh/updateUser',data)
}